package ngat.oss;

import ngat.message.OSS.*;
import ngat.phase2.*; 
import ngat.instrument.*;
import ngat.phase2.nonpersist.*;

import java.util.*;
import java.io.*;

/**
 * Action: Sent by USR to check an as yet unconfirmed change to a Proposal's password.
 * This TransactionImpl does nothing at all - if the user's password has been changed
 * successfully this transaction is authenticated - otherwise it fails and returns an
 * authentication error to the client - who then knows the password was NOT changed !
 * @author S.N.Fraser
 * $Id: AUTHENTICATE_PASSWORDImpl.java,v 1.1 2006/11/27 08:45:00 snf Exp $
 */
public class AUTHENTICATE_PASSWORDImpl extends TransactionImpl {
    
    public AUTHENTICATE_PASSWORDImpl() {
	super();
    }
    
    public AUTHENTICATE_PASSWORDImpl(AUTHENTICATE_PASSWORD request) {
	super(request);
    }

    /**
     * Does absolutely nothing.
     * @return Boolean to indicate success.
     */
    public TRANSACTION_DONE exec() {
	AUTHENTICATE_PASSWORD_DONE done = new AUTHENTICATE_PASSWORD_DONE(id); 
	done.setSuccessful(true);
	return done;
    }

}

/** $Log: AUTHENTICATE_PASSWORDImpl.java,v $
/** Revision 1.1  2006/11/27 08:45:00  snf
/** Initial revision
/**
/** Revision 1.1  2001/02/23 18:51:14  snf
/** Initial revision
/** */
